updating oE max

max

include math.e 
namespace math 
public function max(object a) 

computes the maximum value among all the argument's elements.

Parameters:
  1. values : an object, all atoms of which will be inspected, no matter how deeply nested.
Returns:

An atom, the maximum of all atoms in flatten(values).

Comments:

This function may be applied to an atom or to a sequence of any shape.

Example 1:
a = max({10,15.4,3}) 
-- a is 15.4 
See Also:

min, compare, flatten

Not Categorized, Please Help

Search



Quick Links

User menu

Not signed in.

Misc Menu